Removed getters and setters.

Removed the getters and setters, because they actually are unnecessary and removing them makes the module 1KB lighter.