Doc comment added and singleton methods changed (deleted
createInstance).