Split up install/link hooks.