warn when accessing .metadata directly