implement interfaces in module.php #260