Made LOCKSMITH_REGISTER_TEMPLATE optional. Updated README.