Move logic for adding theme support and attaching hooks into separate functions.
Remove all functions that simply wrap WP core functions.
Don’t call (now nonexistent) WP core function wrappers.
Missed one call to a WP core function wrapper.
Separate argument parsing logic.