Remove unused `initialize_attributes` method

This was previously a hook for a special case related to `serialize`,
which has since been removed.