Fix undefined package registration
#40