Logging was disabled
Use late static binding for getInstanceByID() method
minor changes