Move the remaining headers to their corresponding libraries.

API docs generation still needs to be adjusted though.