Added create method and some extra functionality.