Force getCategories() to return an array
Removed empty constructor
Improved docs