Added function dependency checks
Updated version to 0.2.4