The files directive is used to include files containing classes, check [documentation][1]. You could include the file in the .module file. require_once __DIR__ . '/includes/blocks.inc'; [1]: https://drupal.org/node/542202