Add code for initializing category object