Updates function types for easier use