Bundle registers as a component but no longer as a service
I developed a basic project as an OSGI bundle.
I tested it by installing it using http://localhost:4502/system/console/bundles. The bundle shows as active.
Then I switch to http://localhost:4502/system/console/services and the services of the bundle show.
Later after doing some development, my bundle installs and shows as active. But its methods no longer appears in the services interface. And they cannot be accessed using sling.getService.
What can cause this and how does one go about testing to see what caused it to stop being a service.