make registerPartial sync

@defunctzombie can you review? I couldn't get the tests to work though.