Fixed argument types and added a comment on #if

Added a comment explaining what the upper #if 0/#if 1 does and changed the argument types in the set/get methods