Removed the external go keyword when creating objects and behaviors and internalized in the function.