Add requires (fix #286)