createBehavior now returns a reference to the created behavior, get returns it in the correct type, fixed docs in gameobject.