Add partition implementation, finalize class, method, category implementation