Clean up hashes arrays classes and functions difference