Remove hard coding.
Adding PHPDOC.